package com.ruanjian.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruanjian.reggie.dto.DishDto;
import com.ruanjian.reggie.entity.Dish;

import java.util.List;
import java.util.Map;

public interface DishService extends IService<Dish> {

    public void saveDishAndDishFlavor(DishDto dishDto);
    public IPage<List<Map<String,Object>>> queryListPage(int page,int pageSize,String name);
    public void updateDishAndFlavor(DishDto dishDto);
    public List<Dish> getDishList(String categoryId);
    public List<DishDto> getDishDtoList(Dish dish);

}
